@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC&display=swap");

.relative {
    position: relative;
}

.wrap {
    flex-wrap: wrap;
}

#index {
    height: 100%;
    /* font-family: "Poppins", sans-serif;
    color: #384268; */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-overflow-scrolling: touch;
}

svg, img {
    -webkit-user-drag: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.container-new {
    width: 1440px;
}

.container-news {
    width: 1080px;
}

.container {
    width: 1280px;
}

/* Font Setting */
.bold {
    font-weight: bold;
}

.opacity {
    opacity: 0.68;
}

.heading1 {
    font-weight: bold;
    font-size: 38px;
    line-height: 57px;
}

.heading2 {
    font-weight: bold;
    font-size: 24px;
    line-height: 36px;
}

.heading3 {
    font-weight: bold;
    font-size: 20px;
    line-height: 30px;
}

.heading4 {
    font-weight: bold;
    font-size: 16px;
    line-height: 24px;
}

.heading5 {
    font-weight: bold;
    font-size: 14px;
    line-height: 21px;
}

.heading6 {
    font-weight: bold;
    font-size: 12px;
    line-height: 18px;
}

.body1 {
    font-size: 16px;
    line-height: 32px;
}

.body2 {
    font-size: 14px;
    line-height: 30px;
}

.body3 {
    font-size: 12px;
    line-height: 24px;
}

.small {
    font-size: 10px;
    line-height: 15px;
}

/* Element specific css */
.stgap > *:not(:first-child) {
    margin-top: 5px;
}

.stgap1 > *:not(:first-child) {
    margin-top: 10px;
}

.stgap2 > *:not(:first-child) {
    margin-top: 20px;
}

.stgap3 > *:not(:first-child) {
    margin-top: 30px;
}

.stgap4 > *:not(:first-child) {
    margin-top: 40px;
}

.stgap5 > *:not(:first-child) {
    margin-top: 50px;
}

.stgap6 > *:not(:first-child) {
    margin-top: 60px;
}

.stgaph1 > *:not(:first-child) {
    margin-top: 15px;
}

.stgaph2 > *:not(:first-child) {
    margin-top: 25px;
}

.stgaph3 > *:not(:first-child) {
    margin-top: 35px;
}

.stgaph4 > *:not(:first-child) {
    margin-top: 45px;
}

.stgaph5 > *:not(:first-child) {
    margin-top: 55px;
}

.stgaph6 > *:not(:first-child) {
    margin-top: 65px;
}

.slgap > *:not(:first-child) {
    margin-left: 5px;
}

.slgap1 > *:not(:first-child) {
    margin-left: 10px;
}

.slgap2 > *:not(:first-child) {
    margin-left: 20px;
}

.slgap3 > *:not(:first-child) {
    margin-left: 30px;
}

.slgap4 > *:not(:first-child) {
    margin-left: 40px;
}

.slgap5 > *:not(:first-child) {
    margin-left: 50px;
}

.slgap6 > *:not(:first-child) {
    margin-left: 60px;
}

.slgap7 > *:not(:first-child) {
    margin-left: 70px;
}

.slgap8 > *:not(:first-child) {
    margin-left: 80px;
}

.slgaph1 > *:not(:first-child) {
    margin-left: 15px;
}

.slgaph2 > *:not(:first-child) {
    margin-left: 25px;
}

.slgaph3 > *:not(:first-child) {
    margin-left: 35px;
}

.slgaph4 > *:not(:first-child) {
    margin-left: 45px;
}

.slgaph5 > *:not(:first-child) {
    margin-left: 55px;
}

.slgaph6 > *:not(:first-child) {
    margin-left: 65px;
}

/* New flex css */
.flex {
    display: flex;
}

.row {
    display: flex;
    flex-direction: row;
}

.col {
    display: flex;
    flex-direction: column;
}

.row-rev {
    display: flex;
    flex-direction: row-reverse;
}

.col-rev {
    display: flex;
    flex-direction: column-reverse;
}

.gap {
    gap: 5px;
}

.gap1 {
    gap: 10px;
}

.gap2 {
    gap: 20px;
}

.gap3 {
    gap: 30px;
}

.gap4 {
    gap: 40px;
}

.gap5 {
    gap: 50px;
}

.gap6 {
    gap: 60px;
}

.gaph {
    gap: 5px;
}

.gaph1 {
    gap: 15px;
}

.gaph2 {
    gap: 25px;
}

.gaph3 {
    gap: 35px;
}

.gaph4 {
    gap: 45px;
}

.gaph5 {
    gap: 55px;
}

.gaph6 {
    gap: 65px;
}

.space-between {
    display: flex;
    justify-content: space-between;
}

.flex-start {
    display: flex;
    justify-content: flex-start;
}

.flex-center {
    display: flex;
    justify-content: center;
}

.flex-end {
    display: flex;
    justify-content: flex-end;
}

/* (Horizontal) The main spindle is X, the X axis is symmetrical */
.hor-center {
    display: flex;
    align-items: center;
}

/* (Vertical) The main spindle is Y, the Y axis is symmetrical */
.ver-center {
    display: flex;
    justify-content: center;
}

.both-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Common Setting */
a {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

select {
    cursor: pointer;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.require {
    color: #fc5a5a;
}

/* Transition */
.tips-enter-active,
.tips-leave-active {
    transition: opacity 0.4s ease, transform 0.4s ease !important;
}

.tips-enter,
.tips-leave-to {
    transform: scale(0.5);
    opacity: 0 !important;
    height: 0 !important;
    visibility: hidden !important;
}

.down-enter-active,
.down-leave-active {
    transition: opacity 0.4s, margin-top 0.4s;
}

.down-enter,
.down-leave-to {
    margin-top: -70px;
    opacity: 0;
}

.fade-enter,
.fade-leave-active {
    opacity: 0;
}

.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.35s;
}

.opacitytrans-enter-active,
.opacitytrans-leave-active {
    transition: opacity 0.7s ease, transform 0.7s ease !important;
}

.opacitytrans-enter,
.opacitytrans-leave-to {
    transform: scale(0.5);
    opacity: 0 !important;
    height: 0 !important;
    visibility: hidden !important;
}

.attrans-enter-active,
.attrans-leave-active {
    transition: opacity 0.35s, margin-top 0.35s;
}

.attrans-enter,
.attrans-leave-to {
    margin-top: -40px;
    opacity: 0;
}

.page-enter-active,
.page-leave-active {
    transition: opacity 0.5s;
}

.page-enter,
.page-leave-to {
    opacity: 0;
}

/* ScrollBar */
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #dcdce0;
    border-radius: 30px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #b4b4b4;
}

@media only screen and (max-width: 1440px) {
    .container-new {
        width: 1280px;
    }

    .container-news {
        width: 1080px;
    }
}

@media only screen and (max-width: 1280px) {
    .container-new {
        width: 100%;
    }

    .container-news {
        width: 100%;
    }

    .container {
        width: 100%;
    }
}

.text-left {
    text-align: left;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.div-center {
    margin: auto;
}

